{% extends "administrative/base.html" %}

{% block page_link %}
    <script src="../../static/administrative/js/lssue.js"></script>
    <link rel="stylesheet" href="../../static/system_setup/css/zTreeStyle/zTreeStyle.css">
    <link rel="stylesheet" href="../../static/administrative/css/style.css">
    <script src="../../static/public_file/js/wangEditor.min.js" type="text/javascript" charset="UTF-8"></script>
{#    <link href="../../static/administrative/css/textbus.min.css" rel="stylesheet">#}
{#    <script src="../../static/administrative/js/textbus.min.js"></script>#}
{% endblock %}


{% block style %}
    <style>
        .add_class {
            background: #1E90FF;
        }

        .file {
            position: relative;
            display: inline-block;
            border-radius: 4px;
            padding: 4px 12px;
            overflow: hidden;
            color: #1E88C7;
            text-decoration: none;
            text-indent: 0;
            line-height: 20px;
        }

        .file input {
            position: absolute;
            font-size: 100px;
            right: 0;
            top: 0;
            opacity: 0;
        }

        .file:hover {
            background: #AADFFD;
            border-color: #78C3F3;
            color: #004974;
            text-decoration: none;
        }

        tr {
            height: 35px;
        }

        th {
            text-align: center;
        }

        table {
            table-layout: fixed;
        }

        td:first-child, th:first-child {
            position: sticky;
            left: 0; /* 首行永远固定在左侧 */
            z-index: 1;
        }

        thead tr th {
            position: sticky;
            top: 0; /* 列首永远固定在头部  */
            background-color: #E8E8E8;
        }

        th:first-child {
            z-index: 2;
        }

        .li-class {
            list-style: none;
            margin-top: 2%;
            color: #0b0b0b;
            cursor: pointer;
        }

        .preserve {
            height: 30px;
            width: 90%;
            background: #0070c1;
            color: #ffffff;
        }

        li {
            list-style-type: none;
        }

        .model_li {
            color: #3f414d;
            width: 25%;
            cursor: pointer;
            display: none;
        }

        .basic-tabs {
            box-shadow: 0 1.5px 0 0 #1E90FF;
            color: #1E90FF;
        }

        .basic {
            width: 8%;
            height: 40px;
            line-height: 40px;
            text-align: center;
            display: inline-block;
            vertical-align: top;
            cursor: pointer;
        }


    </style>
{% endblock %}



{% block right_content %}
    <div class="headline">
        <div style="width: 15%;height: 100%;line-height: 40px;float: left;padding-left: 1%;">
            <a href="choose_issue.html" style="color: #0b0b0b;">
                <i class="iconfont icon-gongwenfawen"></i>
                <span> 议题发起</span>
            </a>
        </div>

        <div style="width: 7%;text-align: center;height: 100%;line-height: 40px;float: right;">
            <button id="add_station" type="button" class="btn btn-default add-station preserve"
                    onclick="upload_issue()">提交
            </button>
        </div>
    </div>
    <div id="menu_from" class="right-box" style="width: 100%;height: 91%;overflow: auto;padding-bottom: 1%;">
        <div id="print_div"
             style="width: 70%;margin-top: 1%;display: inline-block;box-shadow: -5px 10px 3px 0 #CFCFCF;margin-left: 15%;">
            <div style="width: 99%;background: white;">
                <div id="print_div1" style="width: 90%;margin-left: 4.5%"><!--startprint-->
                    <style>
                        @font-face {
                            font-family: 'FZXBSJW';
                            src: local('FZXBSJW'),
                            url('../../static/administrative/fonts/FZXBSJW.TTF') format("truetype");
                        }

                        @font-face {
                            font-family: '仿宋_GB2312';
                            src: local('仿宋_GB2312'),
                            url('../../static/administrative/fonts/仿宋_GB2312.ttf') format("truetype");
                        }
                    </style>
                    <div style="color: black;font-family: FZXBSJW;font-size: 24px;text-align: center;height: 60px;line-height: 60px;width: 100%;">
                        {{ issue_type_name }}
                    </div>
                    <div id='issue_number'
                         style="margin-top: 1%;color: black;width: 100%;text-align: left;font-family: 仿宋_GB2312;font-size: 18.6px;padding-left: 25px;font-weight: bold">
                        议题编号{{ issue_number }}</div>
                    <div style="padding-left: 1%;padding-right: 1%;width: 100%;color: #0b0b0b;">
                        <table style="width: 100%;">
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    提交部门
                                </td>
                                <td id='submission_department'
                                    style="width: 20%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">{{ submission_department }}</td>
                                <td style="width: 15%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    <div>负责人</div>
                                    <div>签&nbsp;&nbsp;字</div>
                                </td>
                                <td id='in_charge_signature'
                                    style="width: 15%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    <div>
                                        <div style='width: 100%;height: 40px;'></div>
                                    </div>
                                </td>
                                <td style="width: 15%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    <div>提交</div>
                                    <div>日期</div>
                                </td>
                                <td id='submission_date'
                                    style="width: 15%;border: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">{{ now_time }}</td>
                            </tr>
                        </table>

                        <table style="width: 100%;">
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 75px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    议&nbsp;&nbsp;&nbsp;&nbsp;题
                                </td>
                                <td id="topics"
                                    style="width: 80%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 35px;line-height: 35px;padding-left: 1%;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"
                                    contenteditable="true">{{ topics }}
                                </td>
                            </tr>
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 150px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    议题要点
                                </td>
                                <td id="key_issues"
                                    style="width: 80%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 35px;line-height: 35px;padding-left: 1%;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"
                                    contenteditable="true">{{ key_issues }}</td>
                            </tr>
                        </table>

{#                        <table id="jointly" style="width: 100%;" onmouseover="add_tr()" onmouseout="minus_but()">#}
                        <table id="jointly" style="width: 100%;">
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-top:none; border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 75px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    协办部门1
                                </td>
                                <td id="is_department1"
                                     style="width: 20%;border-top:none;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;padding-left: 1%;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px" onmouseover="co_mouse_on(this.id)"  onmouseout="co_mouse_out(this.id)">
                                     <div id='is_department1_chose' style="color:blue;display: none;cursor: pointer;"  data-toggle="modal" data-target=".bd-example-modal-xl" onclick="delete_val('is_department1')">
                                        选择
                                    </div>

                                    <div id='is_department1_del' style="display: none;color:red;cursor: pointer;" onclick="del_co('is_department1')">
                                        删除
                                    </div>

                                </td>

                                <td style="width: 30%;border-top:none;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    负责人签字
                                </td>
                                <td id="drafter"
                                    style="width: 30%;height: 35px;line-height: 35px;padding-left: 1%;border-top:none;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"></td>
                            </tr>

                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-top:none;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 75px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    协办部门2
                                </td>
                                <td id="is_department2"
                                    style="width: 20%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;padding-left: 1%;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px" onmouseover="co_mouse_on(this.id)"  onmouseout="co_mouse_out(this.id)">
                                     <div id='is_department2_chose' style="color:blue;display: none;cursor: pointer;"  data-toggle="modal" data-target=".bd-example-modal-xl" onclick="delete_val('is_department2')">
                                        选择
                                    </div>

                                    <div id='is_department2_del' style="display: none;color:red;cursor: pointer;" onclick="del_co('is_department2')">
                                        删除
                                    </div>
                                </td>

                                <td style="width: 30%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    负责人签字
                                </td>
                                <td id="drafter"
                                    style="width: 30%;height: 35px;line-height: 35px;padding-left: 1%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"></td>
                            </tr>

                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-left: black solid 0.5px;border-right: black solid 0.5px;border-bottom: black solid 0.5px;height: 75px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    协办部门3
                                </td>
                                <td id="is_department3"
                                    style="width: 20%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;padding-left: 1%;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"
                                     onmouseover="co_mouse_on(this.id)"  onmouseout="co_mouse_out(this.id)">
                                    <div id='is_department3_chose' style="color:blue;display: none;cursor: pointer;"  data-toggle="modal" data-target=".bd-example-modal-xl" onclick="delete_val('is_department3')">
                                        选择
                                    </div>

                                    <div id='is_department3_del' style="display: none;color:red;cursor: pointer;" onclick="del_co('is_department3')">
                                        删除
                                    </div>

                                </td>


                                <td style="width: 30%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;text-align: center;height: 75px;line-height: 35px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    负责人签字
                                </td>
                                <td id="drafter"
                                    style="width: 30%;height: 35px;line-height: 35px;padding-left: 1%;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"></td>
                            </tr>

                        </table>

                        <div>
{#                            <div id="add_jointly"#}
{#                                 style="width: 100%;height: 0;text-align: center;display: none;float: left">#}
{#                                <button onclick="Add_tags()"#}
{#                                        style="width: 40px;border: #cfcfcf solid 0.5px;border-bottom-left-radius: 5px;border-bottom-right-radius: 5px;height: 20px;line-height: 20px;color: #8E9DA6;">#}
{#                                    +#}
{#                                </button>#}
{#                            </div>#}

                            <table style="width: 100%;">
                                <tr style="margin-left: 1%;">
                                    <td style="width: 20%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 150px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                        <div>分管领导</div>
                                        <div>意见</div>
                                    </td>
                                    <td id="leader_opinion"
                                        style="width: 80%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 35px;line-height: 35px;padding-left: 1%;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"></td>
                                </tr>
                            </table>
                        </div>

                        <table style="width: 100%;">
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 120px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    <div>主要负责人</div>
                                    <div>意见</div>
                                </td>
                                <td id="main_process"
                                    style="width: 80%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 35px;line-height: 35px;padding-left: 1%;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">{{ main_opinion }}</td>
                            </tr>
                        </table>

                        <table style="width: 100%;">
                            <tr style="margin-left: 1%;">
                                <td style="width: 20%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 120px;line-height: 35px;text-align: center;color: black;font-family: 仿宋_GB2312;font-size: 18.6px">
                                    处理结果
                                </td>
                                <td id="processing_result"
                                    style="width: 80%;border-top: black;border-right: black solid 0.5px;border-left: black solid 0.5px;border-bottom: black solid 0.5px;height: 35px;line-height: 35px;padding-left: 1%;color: black;font-family: 仿宋_GB2312;font-size: 18.6px"
                                    contenteditable="true"></td>
                            </tr>
                        </table>
                    </div>
                    <div style="margin-left: 1%;text-align:left">
                        <span style="text-align: left;font-family: 仿宋_GB2312;font-size: 18.6px;color: black;">备注</span>
                        <div style="display:inline;text-align: left;font-family: 仿宋_GB2312;font-size: 18.6px;color: black;">
                            <span> 1.此表于{{ detail_word }}委会召开前三天提交，提交后原则上不能修改。</span>
                            <br>
                            <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2.此表字体及格式已设定，请勿改动；</span>
                        </div>
                    </div>
                </div>

                <div style="height: 30px;"></div>
            </div>

            <br>
            <div style="page-break-after:always;"></div>


            <!--endprint-->
            <iframe id="iframe1" style="display: none"></iframe>
            <div style="width: 100%;text-align: center;height: 50px;margin-top: 10px;">
                <button onclick="but_click()" style="width: 100px;border-radius: 3px;border: #dfdfdf solid 0.5px;">打印
                </button>
                <div id="issue_id" style="display: none">{{ issue_id }}</div>
                <div id="nuclear_draft_name" style="display: none"></div>
            </div>


        </div>
        <br>
        <br>
        <br>
        <div style="margin-top: 2%;width: 70%;margin-left: 15%">
            <span style="color: red;visibility: hidden;">*</span>
            <label style="vertical-align: center;"> 议题文件</label>
            <a href="javascript:;" class="file" style="display: inline-block;vertical-align: top;">
                上传正文
                <input type="file" name="accessory" id="accessory1" onchange="upload_issue_file1()">
            </a>
            <a href="javascript:;" class="file" style="display: inline-block;vertical-align: top;">
                上传附件
                <input type="file" name="accessory" id="accessory2" onchange="upload_issue_file2()">
            </a>
{#            <label style="vertical-align: center;font-size: small;color: grey"> （ 小提示：仅需上传附件。）</label>#}
        </div>
        <br>
        <table class="table table-hover table-bordered" style="width: 70%;margin-left: 15%">
            <thead>
            <tr>
                <th scope="col" style="width: 5%;">序号</th>
                <th scope="col" style="width: 45%;">文件名</th>
                <th scope="col" style="width: 10%;">文件大小</th>
                <th scope="col" style="width: 10%;">上传人</th>
                <th scope="col" style="width: 20%;">上传时间</th>
                <th scope="col" style="width: 20%;">文件类型</th>
                <th scope="col" style="width: 10%;">操作</th>
            </tr>
            </thead>
            <tbody style="overflow: auto;" id="t_table"></tbody>
        </table>


    </div>
    <div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-sm" style="margin-top: 10%;">
            <div class="modal-content" style="height: 150px;border-radius: 7px;width: 300px;background: #F8F8FF;border: #1E90FF solid 1px;">
                <div class="modal-header" style="height: 40px;background: #1E90FF;border-top-left-radius: 7px;border-top-right-radius: 7px;">
                    <h5 class="modal-title" style="line-height: 40px;width: 40%;text-align: center;color: #ffffff;">
                        提示对话框
                    </h5>
                    <button id="close-model2" type="button" class="close" data-dismiss="modal" aria-label="Close" style="margin-right: 3%;line-height: 40px;">
                        <span aria-hidden="true" style="font-size: 28px;color: white;">&times;</span>
                    </button>
                </div>
                <div class="modal-body" style="height: 50px;line-height: 60px;text-align: center;">
                    <p id="Confirm-content"></p>
                </div>
                <div class="modal-footer" style="height: 40px;">
                    <button id="countersign" type="button" class="btn btn-primary" aria-label="Close"
                            style="margin-left: 2%;margin-right: 2%;background: #1E90FF;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;确&nbsp;认&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </button>
                </div>
            </div>
        </div>
    </div>


    <div class="modal fade bd-example-modal-xl" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-xl" style="margin-top: 3%;">
            <div class="modal-content"
                 style="height: 600px;border-radius: 7px;width: 900px;margin-left: 15%;background: #F8F8FF;">
                <div class="modal-header" style="height: 50px;">
                    <h5 class="modal-title" style="line-height: 50px;width: 10%;">选择协办部门</h5>
                    <div id="co_department_id" style="display: none"></div>
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"
                            style="margin-right: 3%;line-height: 50px;">

                        <span aria-hidden="true" style="font-size: 28px;">&times;</span>
                    </button>

                </div>
                <div class="modal-body" style="height: 450px;">
                    <div style="display: inline-block;width: 30%;height: 70%;margin-left: 1%;border-right: #E8E8E8 solid 1px;overflow: auto;">
                        <ul id="treeDemo1" class="ztree"></ul>
                    </div>
                    <div style="display: inline-block;width: 67.5%;height: 70%;overflow: auto;">
                        <div style="width: 100%;height: 35px;text-align: right;line-height: 40px;">
                            <input id="checkboxID" type="checkbox" style="vertical-align:middle; margin-top:-2px;"
                                   onclick="check_input()"> <span>显示所有下级部门</span>
                        </div>
                        <div id="Ztree-label">

                        </div>
                    </div>
                    <div style="height: 30%;width: 100%;border-top: #E8E8E8 solid 1px;overflow: auto;">
                        <div id="checked-label" style="margin-top: 1%;margin-left: 3%;">

                        </div>
                    </div>
                </div>
                <div class="modal-footer" style="height: 50px;">
                    <button id="model-close" type="button" class="btn btn-secondary" data-dismiss="modal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关&nbsp;闭&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</button>
                    <button id="model-affirm" type="button" class="btn btn-primary"
                            style="margin-left: 2%;margin-right: 2%;" onclick="summit_val()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;确&nbsp;认&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    </button>
                </div>
            </div>
        </div>
    </div>
{% endblock %}


{% block script %}
    <script src="../../static/public_file/js/jquery.min.js"></script>
    <script src="../../static/system_setup/js/jquery.ztree.all.min.js"></script>
    <script src="../../static/system_setup/js/django.ajax.post.csrf.js"></script>
    <script>
        function Add_tags() {
            var childNodes_list = document.getElementById("jointly").rows.length;
            var tr = document.createElement("tr");
            var td = document.createElement("td");
            var td1 = document.createElement("td");
            var td2 = document.createElement("td");
            var td3 = document.createElement("td");
            td.innerHTML = "协办部门" + String(childNodes_list + 1);
            td.style.width = "20%";
            td.style.borderLeft = "black solid 0.5px";
            td.style.borderRight = "black solid 0.5px";
            td.style.borderBottom = "black solid 0.5px";
            td.style.borderTop = "none";
            td.style.height = "75px";
            td.style.lineHeight = "35px";
            td.style.textAlign = "center";
            td.style.color = "black";
            td.style.fontFamily = "仿宋_GB2312";
            td.style.fontSize = "18.6px";
            td1.setAttribute("id", "is_department" + String(childNodes_list + 1));
            td1.setAttribute("data-toggle", "modal");
            td1.setAttribute("data-target", ".bd-example-modal-xl");
            td1.setAttribute("onclick", "delete_val(this.id)");
            td1.style.width = "20%";
            td1.style.borderRight = "black solid 0.5px";
            td1.style.borderLeft = "black solid 0.5px";
            td1.style.borderBottom = "black solid 0.5px";
            td1.style.borderTop = "none";

            td1.style.paddingLeft = "1%";
            td1.style.lineHeight = "35px";
            td.style.color = "black";
            td1.style.fontFamily = "仿宋_GB2312";
            td1.style.fontSize = "18.6px";
            td2.innerHTML = "负责人签字";
            td2.style.width = "30%";
            td2.style.borderRight = "black solid 0.5px";
            td2.style.borderLeft = "black solid 0.5px";
            td2.style.borderBottom = "black solid 0.5px";
            td2.style.borderTop = "none";
            td2.style.textAlign = "center";
            td2.style.height = "75px";
            td2.style.lineHeight = "35px";
            td2.style.color = "black";
            td2.style.fontFamily = "仿宋_GB2312";
            td2.style.fontSize = "18.6px";
            td3.innerHTML = "<div><div style='width: 100%;height: 40px;'><input type='radio' name='nuclear_draft" + String(childNodes_list + 1) + "' value='同意'> 同意<input type='radio' name='nuclear_draft" + String(childNodes_list + 1) + "' value='不同意' style='margin-left: 2%;'> 不同意</div></div>";
            td3.style.width = "30%";
            td3.style.height = "35px";
            td3.style.lineHeight = "35px";
            td3.style.paddingLeft = "1%";
            td3.style.borderRight = "black solid 0.5px";
            td.style.borderLeft = "black solid 0.5px";
            td3.style.borderBottom = "black solid 0.5px";
            td3.style.borderTop = "none";
            td3.style.color = "black";
            td3.style.fontFamily = "仿宋_GB2312";
            td3.style.fontSize = "18.6px";
            tr.appendChild(td);
            tr.appendChild(td1);
            tr.appendChild(td2);
            tr.appendChild(td3);
            document.getElementById("jointly").appendChild(tr);
        }

        function click_ul_9() {
            if (document.getElementById("jiantou5").className === "iconfont icon-jiantou-shang"){
                document.getElementById("jiantou5").className = "iconfont icon-jiantou-xia";
                document.getElementById("dispatch-Administrator-1").style.display = "inline-block";
            }else {
                document.getElementById("jiantou5").className = "iconfont icon-jiantou-shang";
                document.getElementById("dispatch-Administrator-1").style.display = "none";
            }
        }

        function click_ul_10() {
            if (document.getElementById("jiantou4").className === "iconfont icon-jiantou-shang"){
                document.getElementById("jiantou4").className = "iconfont icon-jiantou-xia";
                document.getElementById("dispatch-Administrator").style.display = "inline-block";
            }else {
                document.getElementById("jiantou4").className = "iconfont icon-jiantou-shang";
                document.getElementById("dispatch-Administrator").style.display = "none";
            }
        }
    </script>
{% endblock %}
